package com.wealth.sms.service;

import java.util.Map;

import com.wealth.sms.entity.MessageChannel;

import iaas.service.IBaseService;
import iaas.utils.ResultObject;


@SuppressWarnings(value="all")
public interface IMessageChannelService extends IBaseService<MessageChannel>{
	
	/** 查询当前企业的短信通道 */
	public MessageChannel findMessageChannelByCorpId(Long corpid) throws Exception;

	/** 短信接口请求 */
	public ResultObject request(Long corpid,Integer templateTypeId,String action,String mobile,Map map) throws Exception;
	
	/** 短信接口发送 */
	public ResultObject send(Long corpid,Integer templateTypeId,String mobile,Map map) throws Exception;
}
